Skip to content

Instantly share code, notes, and snippets.

@pjanik
Created February 26, 2016 01:24
Show Gist options
  • Save pjanik/5c204a999ee296b4aa62 to your computer and use it in GitHub Desktop.
Save pjanik/5c204a999ee296b4aa62 to your computer and use it in GitHub Desktop.
old student/status
Around 35ms in total:
Started GET "/portal/students/5/status.json" for 127.0.0.1 at 2016-02-25 17:22:59 -0800
Processing by Portal::StudentsController#status as JSON
Parameters: {"id"=>"5"}
User Load (1.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 14 AND (`users`.`state` NOT IN ('disabled')) LIMIT 1
Portal::Teacher Load (1.0ms) SELECT `portal_teachers`.* FROM `portal_teachers` WHERE `portal_teachers`.`user_id` = 14 LIMIT 1
Portal::Student Load (1.0ms) SELECT `portal_students`.* FROM `portal_students` WHERE `portal_students`.`user_id` = 14 LIMIT 1
Portal::Student Load (1.0ms) SELECT `portal_students`.* FROM `portal_students` WHERE `portal_students`.`id` = 5 LIMIT 1
Report::Learner Load (1.1ms) SELECT `report_learners`.* FROM `report_learners` WHERE `report_learners`.`student_id` = 5
Completed 200 OK in 10.4ms (Views: 0.2ms | ActiveRecord: 5.3ms | Solr: 0.0ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment