Created
September 23, 2013 02:44
-
-
Save rwarbelow/6665955 to your computer and use it in GitHub Desktop.
Admin trying to edit a student's information. A student has an "Identity" attached to it which contains a first name, last name, username, and password.
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
Started PUT "/admin/student_profiles/155" for 127.0.0.1 at 2013-09-22 19:35:39 -0700 | |
Processing by Admin::StudentProfilesController#update as HTML | |
Parameters: {"utf8"=>"✓", "authenticity_token"=>"Ms4TZwzD3X2729++CmQSRompltCRrTDQS96/NYn0HAw=", "student"=>{"birthday"=>"1985-05-05", "gender"=>"male", "grade_level"=>"7", "ccsd_id"=>"3333488", "email"=>"gudhsgiuh@gnodjsgh.com"}, "identity"=>{"username"=>"gracealtenwerth", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Update", "id"=>"155"} | |
Identity Load (0.3ms) SELECT "identities".* FROM "identities" WHERE "identities"."id" = 402 LIMIT 1 | |
Admin Load (0.3ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = 1 LIMIT 1 | |
Student Load (0.2ms) SELECT "students".* FROM "students" WHERE "students"."id" = $1 LIMIT 1 [["id", "155"]] | |
Identity Load (0.4ms) SELECT "identities".* FROM "identities" WHERE "identities"."student_id" = 155 LIMIT 1 | |
(0.1ms) BEGIN | |
Identity Exists (0.3ms) SELECT 1 AS one FROM "identities" WHERE ("identities"."username" = 'gracealtenwerth' AND "identities"."id" != 155) LIMIT 1 | |
Identity Exists (0.4ms) SELECT 1 AS one FROM "identities" WHERE ("identities"."student_id" = 155 AND "identities"."id" != 155) LIMIT 1 | |
(0.2ms) ROLLBACK | |
(0.2ms) BEGIN | |
CACHE (0.0ms) SELECT 1 AS one FROM "identities" WHERE ("identities"."username" = 'gracealtenwerth' AND "identities"."id" != 155) LIMIT 1 | |
CACHE (0.0ms) SELECT 1 AS one FROM "identities" WHERE ("identities"."student_id" = 155 AND "identities"."id" != 155) LIMIT 1 | |
(0.2ms) ROLLBACK | |
Rendered admin/student_profiles/edit.html.erb within layouts/application (2.1ms) | |
Teacher Load (0.4ms) SELECT "teachers".* FROM "teachers" WHERE "teachers"."id" = 2 LIMIT 1 | |
Rendered shared/_navbar.html.erb (3.9ms) | |
Rendered shared/_header.html.erb (5.3ms) | |
Completed 200 OK in 122ms (Views: 29.0ms | ActiveRecord: 2.9ms) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment