Skip to content

Instantly share code, notes, and snippets.

@pjanik
Created February 26, 2016 01:34
Show Gist options
  • Save pjanik/8e9adcdba471029b2f1c to your computer and use it in GitHub Desktop.
Save pjanik/8e9adcdba471029b2f1c to your computer and use it in GitHub Desktop.
old student/status, more offerings
around 40ms in total:
Started GET "/portal/students/2/status.json" for 127.0.0.1 at 2016-02-25 17:33:34 -0800
Processing by Portal::StudentsController#status as JSON
Parameters: {"id"=>"2"}
User Load (1.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 10 AND (`users`.`state` NOT IN ('disabled')) LIMIT 1
Portal::Teacher Load (1.2ms) SELECT `portal_teachers`.* FROM `portal_teachers` WHERE `portal_teachers`.`user_id` = 10 LIMIT 1
Portal::Student Load (1.2ms) SELECT `portal_students`.* FROM `portal_students` WHERE `portal_students`.`user_id` = 10 LIMIT 1
Portal::Student Load (1.2ms) SELECT `portal_students`.* FROM `portal_students` WHERE `portal_students`.`id` = 2 LIMIT 1
Report::Learner Load (1.3ms) SELECT `report_learners`.* FROM `report_learners` WHERE `report_learners`.`student_id` = 2
Completed 200 OK in 13.3ms (Views: 0.5ms | ActiveRecord: 6.3ms | Solr: 0.0ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment