Created
July 1, 2010 17:51
-
-
Save ybakos/460298 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
Processing UserSessionsController#create (for 127.0.0.1 at 2010-07-01 11:48:57) [POST] | |
Parameters: {"commit"=>"Log in", "user_session"=>{"password"=>"[FILTERED]", "email"=>"xxx@nowhere.com"}, "action"=>"create", "authenticity_token"=>"+FdTnSeqIia9xEBtS4vYpD8pruHE5MKh6Uk+zVLIE/8=", "controller"=>"user_sessions"} | |
User Columns (10.6ms) SHOW FIELDS FROM `users` | |
# sync_or_create() called. before find_or_create_by_email | |
User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`email` = 'xxx@nowhere.com') LIMIT 1 | |
# after find_or_create by email | |
# before save! ing | |
SQL (0.2ms) BEGIN | |
# BEFORE AR VALIDATION | |
User Load (0.4ms) SELECT `users`.id FROM `users` WHERE (`users`.`persistence_token` = BINARY 'fb62b793ac317670da4aac2a175467a0813d9d25c3b0f6803dbd855e068e08f6c6328614220be40f90d3d759c2862c3d83a33968d803e0d88ed303154d06a1d8' AND `users`.id <> 1) LIMIT 1 | |
# AFTER AR VALIDATION | |
# BEFORE AR SAVE | |
User Update (0.4ms) UPDATE `users` SET `failed_login_count` = 0, `updated_at` = '2010-07-01 17:49:02', `crypted_password` = '206ae1d56c1d8f0092f981ebb99a9e58304701625e2683d8410d731ba97aa6ed944f1937ea9e1f1b93a6bee51df973a6ab5236f9666a86792f7d51ab52471254', `perishable_token` = 'b84ZXMIQJsregJnEjabA', `last_login_at` = '2010-07-01 17:33:06', `current_login_at` = '2010-07-01 17:49:02', `password_salt` = 'k0d65CC1VS_mhXrF07hO', `login_count` = 36, `persistence_token` = 'fb62b793ac317670da4aac2a175467a0813d9d25c3b0f6803dbd855e068e08f6c6328614220be40f90d3d759c2862c3d83a33968d803e0d88ed303154d06a1d8', `last_request_at` = '2010-07-01 17:49:02' WHERE `id` = 1 | |
# AFTER AR SAVE | |
SQL (0.6ms) COMMIT | |
# save! complete. Returning user to find_by_remote Service | |
SQL (0.1ms) BEGIN | |
# BEFORE AR SAVE | |
User Update (0.3ms) UPDATE `users` SET `failed_login_count` = 1, `updated_at` = '2010-07-01 17:49:02', `perishable_token` = '1aS10OluKQ4dho1DXgvq' WHERE `id` = 1 | |
# AFTER AR SAVE | |
SQL (0.8ms) COMMIT | |
Rendering template within layouts/application | |
Rendering user_sessions/new | |
Rendered shared/_flash (0.1ms) | |
Rendered shared/_userbar (0.3ms) | |
Rendered shared/_menubar (0.3ms) | |
Rendered shared/_footer (0.9ms) | |
Rendered shared/_activalive (0.1ms) | |
Rendered shared/_analytics (0.1ms) | |
Completed in 4515ms (View: 13, DB: 15) | 200 OK [http://someapp.local/user_sessions] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment