Guest User

Untitled

a guest
Mar 13th, 2018
281
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.88 KB | None | 0 0
  1. ?> u = User.create( :login => 'tester', :email => 'duncan.gough+111@gmail.com', :password => 'password_test', :password_confirmation => 'password_test' )
  2. SQL (0.000191) BEGIN
  3. User Load (0.000671) SELECT * FROM `users` WHERE (LOWER(users.login) = 'tester') LIMIT 1
  4. User Load (0.000599) SELECT * FROM `users` WHERE (LOWER(users.email) = 'duncan.gough+111@gmail.com') LIMIT 1
  5. User Create (0.000531) INSERT INTO `users` (`forename`, `last_login_at`, `salt`, `current_level`, `total_datapoints`, `updated_at`, `crypted_password`, `motto`, `tertiary_association`, `visits_count`, `country`, `primary_association`, `remember_token_expires_at`, `secondary_association`, `url`, `gender`, `id`, `datapoints`, `privacy_level`, `identity_url`, `remember_token`, `date_of_birth`, `time_zone`, `login`, `surname`, `beta_key_id`, `created_at`, `email`) VALUES(NULL, NULL, 'f417d417f2e0d2a7973f99409e570875965df6ed', 1, 0, '2008-02-28 14:56:01', '4530ed3ec1bbb9cc2776538f6047fec98d24ee24', NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, 'm', '471e9650-e60d-11dc-8e38-001b63343339', 0, 'public', NULL, NULL, NULL, 'Etc/UTC', 'tester', NULL, NULL, '2008-02-28 14:56:01', 'duncan.gough+111@gmail.com')
  6. SQL (0.000653) COMMIT
  7. => #<User id: "471e9650-e60d-11dc-8e38-001b63343339", login: "tester", email: "duncan.gough+111@gmail.com", crypted_password: "4530ed3ec1bbb9cc2776538f6047fec98d24ee24", salt: "f417d417f2e0d2a7973f99409e570875965df6ed", created_at: "2008-02-28 14:56:01", updated_at: "2008-02-28 14:56:01", last_login_at: nil, remember_token: nil, remember_token_expires_at: nil, visits_count: 0, time_zone: "Etc/UTC", identity_url: nil, forename: nil, surname: nil, url: nil, date_of_birth: nil, gender: "m", country: nil, datapoints: 0, primary_association: nil, secondary_association: nil, tertiary_association: nil, total_datapoints: 0, beta_key_id: nil, motto: nil, privacy_level: "public", current_level: 1>
Add Comment
Please, Sign In to add comment