-
-
Save leemcalilly/e0d6e34de8f24bba12cc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading development environment (Rails 3.2.13) | |
irb(main):001:0> FactoryGirl.create(:user) | |
(0.2ms) BEGIN | |
User Exists (12.4ms) SELECT 1 AS one FROM "users" WHERE LOWER("users"."email") = LOWER('person_1@example.com') LIMIT 1 | |
SQL (2.9ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["created_at", Mon, 20 May 2013 14:38:32 UTC +00:00], ["crypted_password", "$2a$10$fWggRIUu9oJjHb/rquQctOgymKrKU8SZqfJ7uLvNfJ1tp81BKJ2am"], ["email", "person_1@example.com"], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "tvywUd5q1w9ZPCx8eWbc"], ["updated_at", Mon, 20 May 2013 14:38:32 UTC +00:00]] | |
(0.5ms) COMMIT | |
=> #<User id: 4, email: "person_1@example.com", crypted_password: "$2a$10$fWggRIUu9oJjHb/rquQctOgymKrKU8SZqfJ7uLvNfJ1t...", salt: "tvywUd5q1w9ZPCx8eWbc", created_at: "2013-05-20 14:38:32", updated_at: "2013-05-20 14:38:32", remember_me_token: nil, remember_me_token_expires_at: nil, reset_password_token: nil, reset_password_token_expires_at: nil, reset_password_email_sent_at: nil> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment