Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am reidef on github.
  • I am reidef (https://keybase.io/reidef) on keybase.
  • I have a public key whose fingerprint is 7553 F6BE 77CD 5EED 0BC1 EEA3 5767 5581 D675 AA45

To claim this, I am signing this object:

@reidef
reidef / README.md
Last active September 3, 2015 15:12
Phoenix app attempting to use UUID generated by Postgres for primary key.

I building an example app with Elixir and Phoenix (1.0.0) and just wanted to play with different authentication strategies and generally have a sandbox app to play with.

Following these guides:

When I go to create a new user the log shows:

INSERT INTO "users" ("crypted_password", "email", "id", "inserted_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" ["$2b$12$zCtxxxSOyXry3u.v3esVY.5LruKkcf3vAZg3FycUU3ZCjPdFkPf5.", "reid@test.com", nil, {{2015, 9, 3}, {2, 1, 22, 0}}, {{2015, 9, 3}, {2, 1, 22, 0}}]