Created
August 14, 2020 22:00
-
-
Save seanmarcia/b2dec963bfc28c100ca22dd13f5f3857 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 GET "/supervisors/106/edit" for ::1 at 2020-08-14 15:39:44 -0400 | |
Processing by SupervisorsController#edit as HTML | |
Parameters: {"id"=>"106"} | |
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2 [["id", 110], ["LIMIT", 1]] | |
CasaOrg Load (0.2ms) SELECT "casa_orgs".* FROM "casa_orgs" WHERE "casa_orgs"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] | |
↳ app/controllers/supervisors_controller.rb:50:in `available_volunteers' | |
Supervisor Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."type" = $1 AND "users"."id" = $2 LIMIT $3 [["type", "Supervisor"], ["id", 106], ["LIMIT", 1]] | |
↳ app/controllers/supervisors_controller.rb:27:in `edit' | |
Rendering layouts/application.html.erb | |
Rendering supervisors/edit.html.erb within layouts/application | |
SupervisorVolunteer Load (0.2ms) SELECT "supervisor_volunteers".* FROM "supervisor_volunteers" WHERE "supervisor_volunteers"."supervisor_id" = $1 [["supervisor_id", 106]] | |
↳ app/views/supervisors/edit.html.erb:47 | |
User Load (0.5ms) SELECT "users".* FROM "users" INNER JOIN "supervisor_volunteers" ON "users"."id" = "supervisor_volunteers"."volunteer_id" WHERE "supervisor_volunteers"."supervisor_id" = $1 ORDER BY "users"."display_name" ASC [["supervisor_id", 106]] | |
↳ app/views/supervisors/edit.html.erb:61 | |
SQL (1.2ms) SELECT "users"."id" AS t0_r0, "users"."email" AS t0_r1, "users"."encrypted_password" AS t0_r2, "users"."reset_password_token" AS t0_r3, "users"."reset_password_sent_at" AS t0_r4, "users"."remember_created_at" AS t0_r5, "users"."created_at" AS t0_r6, "users"."updated_at" AS t0_r7, "users"."casa_org_id" AS t0_r8, "users"."display_name" AS t0_r9, "users"."invitation_token" AS t0_r10, "users"."invitation_created_at" AS t0_r11, "users"."invitation_sent_at" AS t0_r12, "users"."invitation_accepted_at" AS t0_r13, "users"."invitation_limit" AS t0_r14, "users"."invited_by_type" AS t0_r15, "users"."invited_by_id" AS t0_r16, "users"."invitations_count" AS t0_r17, "users"."type" AS t0_r18, "users"."active" AS t0_r19, "supervisor_volunteers"."id" AS t1_r0, "supervisor_volunteers"."supervisor_id" AS t1_r1, "supervisor_volunteers"."volunteer_id" AS t1_r2, "supervisor_volunteers"."created_at" AS t1_r3, "supervisor_volunteers"."updated_at" AS t1_r4 FROM "users" LEFT OUTER JOIN "supervisor_volunteers" ON "supervisor_volunteers"."volunteer_id" = "users"."id" WHERE "users"."type" = $1 AND "users"."casa_org_id" = $2 AND "users"."active" = $3 AND "supervisor_volunteers"."id" IS NULL [["type", "Volunteer"], ["casa_org_id", 1], ["active", true]] | |
↳ app/views/supervisors/edit.html.erb:84 | |
Rendered supervisors/edit.html.erb within layouts/application (Duration: 26.1ms | Allocations: 29903) | |
Rendered shared/_favicons.html.erb (Duration: 8.0ms | Allocations: 6745) | |
[Webpacker] Everything's up-to-date. Nothing to do | |
Rendered layouts/_header.html.erb (Duration: 1.0ms | Allocations: 645) | |
Rendered layouts/_footer.html.erb (Duration: 0.3ms | Allocations: 280) | |
Rendered layouts/application.html.erb (Duration: 49.1ms | Allocations: 47086) | |
Completed 200 OK in 56ms (Views: 47.6ms | ActiveRecord: 2.8ms | Allocations: 51535) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment