Skip to content

Instantly share code, notes, and snippets.

@spif
Created January 10, 2012 13:46
Show Gist options
  • Save spif/1589155 to your computer and use it in GitHub Desktop.
Save spif/1589155 to your computer and use it in GitHub Desktop.
Started GET "/contacts" for 127.0.0.1 at Tue Jan 10 14:43:30 +0100 2012
Processing by ContactsController#index as HTML
User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
(1.6ms) SELECT COUNT(*) FROM "organization_memberships" WHERE "organization_memberships"."user_id" = 1
Device Load (3.1ms) SELECT "devices".* FROM "devices" WHERE "devices"."user_id" = 1
Consent::OrganizationMember Load (2.5ms) SELECT "consents".* FROM "consents" WHERE "consents"."type" IN ('Consent::OrganizationMember') AND "consents"."subscriber_id" = 1 LIMIT 1
Contact Load (66.2ms) SELECT "contacts".* FROM "contacts" WHERE "contacts"."user_id" = 1
Consent::ConnectedFriend Load (0.7ms) SELECT "consents".* FROM "consents" WHERE "consents"."type" IN ('Consent::ConnectedFriend') AND (subscriber_id = 1 OR publisher_id = 1)
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = 19 LIMIT 1
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
Consent::ConnectedFriend Load (2.0ms) SELECT "consents".* FROM "consents" WHERE "consents"."type" IN ('Consent::ConnectedFriend') AND "consents"."subscriber_id" = 1 AND "consents"."authorized" = 't'
User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (1)
Device Load (0.4ms) SELECT "devices".* FROM "devices" WHERE "devices"."user_id" = 1 AND "devices"."type" = 'Device::ConnectedFriends' LIMIT 1
Contact Load (5.8ms) SELECT contacts.*, device_contacts.id_on_device FROM "contacts" INNER JOIN "device_contacts" ON "device_contacts"."contact_id" = "contacts"."id" WHERE "device_contacts"."device_id" = 9 AND "device_contacts"."id_on_device" IN ('19/me', '2/me')
Consent::SharedGroup Load (0.7ms) SELECT "consents".* FROM "consents" WHERE "consents"."type" IN ('Consent::SharedGroup') AND "consents"."subscriber_id" = 1
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (1)
User Load (2.4ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (44, 45, 152)
Organization Load (1.4ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" IN (6)
Organization Load (0.6ms) SELECT "organizations".* FROM "organizations" INNER JOIN "organization_memberships" ON "organizations"."id" = "organization_memberships"."organization_id" WHERE "organization_memberships"."user_id" = 1
Consent::SharedGroup Load (0.4ms) SELECT "consents".* FROM "consents" WHERE "consents"."type" IN ('Consent::SharedGroup') AND "consents"."publisher_id" IN (44, 45, 152)
Category Load (2.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."user_id" = 1
Device Load (0.9ms) SELECT "devices".* FROM "devices" WHERE "devices"."user_id" = 1 AND "devices"."type" IN ('Device::LinkedIn', 'Device::Viadeo')
rendering 64 contacts
Plan Load (0.3ms) SELECT "plans".* FROM "plans" WHERE "plans"."id" = $1 LIMIT 1 [["id", 10]]
(0.6ms) SELECT 1 FROM "organizations" INNER JOIN "organization_memberships" ON "organization_memberships"."organization_id" = "organizations"."id" WHERE "organization_memberships"."admin" = 't' AND "organization_memberships"."user_id" = 1 LIMIT 1
Rendered contacts/_group.html.erb (0.0ms)
Rendered contacts/_group.html.erb (12.6ms)
(0.5ms) SELECT COUNT(*) FROM "device_contacts" WHERE "device_contacts"."device_id" = 37
Rendered contacts/_groups.html.erb (274.2ms)
Rendered contacts/_contactsets.html.erb (294.5ms)
Rendered contacts/_search.html.erb (0.8ms)
Rendered contacts/_list.html.erb (286.6ms)
Rendered contacts/_index.html.erb (305.9ms)
Rendered contacts/_blank_slate_connected_friends.html.erb (0.5ms)
Rendered contacts/_show_landing.html.erb (6.3ms)
Rendered contacts/index.html.erb within layouts/contacts (725.3ms)
Rendered shared/_navigation.html.erb (1.3ms)
Rendered shared/_name_popup.html.erb (0.3ms)
(2.1ms) SELECT 1 FROM "partner_customers" WHERE "partner_customers"."user_id" = 1 AND "partner_customers"."active" = 't' AND "partner_customers"."partner" = 'vma' LIMIT 1
CACHE (0.0ms) SELECT 1 FROM "partner_customers" WHERE "partner_customers"."user_id" = 1 AND "partner_customers"."active" = 't' AND "partner_customers"."partner" = 'vma' LIMIT 1
Rendered shared/_footer_private.html.erb (223.5ms)
Rendered feedback/_pane.html.erb (1.7ms)
Rendered layouts/application.html.erb (251.6ms)
Completed 200 OK in 2800ms (Views: 1619.1ms | ActiveRecord: 130.0ms)
Started GET "/assets/contacts.js" for 127.0.0.1 at Tue Jan 10 14:43:34 +0100 2012
RailsDevTweaks: Skipping ActionDispatch::Reloader hooks for this request.
Compiled app/contacts/search.js (0ms) (pid 6163)
Compiled contacts.js (780ms) (pid 6163)
Served asset /contacts.js - 200 OK (1079ms)
Started GET "/assets/add_button_bg.png" for 127.0.0.1 at Tue Jan 10 14:43:35 +0100 2012
Started GET "/assets/search_icon.png" for 127.0.0.1 at Tue Jan 10 14:43:35 +0100 2012
RailsDevTweaks: Skipping ActionDispatch::Reloader hooks for this request.
RailsDevTweaks: Skipping ActionDispatch::Reloader hooks for this request.
Served asset /search_icon.png - 200 OK (132ms)
Served asset /add_button_bg.png - 200 OK (135ms)
Started GET "/assets/head22.png" for 127.0.0.1 at Tue Jan 10 14:43:35 +0100 2012
RailsDevTweaks: Skipping ActionDispatch::Reloader hooks for this request.
Started GET "/assets/back.gif" for 127.0.0.1 at Tue Jan 10 14:43:35 +0100 2012
RailsDevTweaks: Skipping ActionDispatch::Reloader hooks for this request.
Served asset /head22.png - 200 OK (103ms)
Served asset /back.gif - 200 OK (84ms)
Started GET "/assets/me_icon_small.png" for 127.0.0.1 at Tue Jan 10 14:43:35 +0100 2012
RailsDevTweaks: Skipping ActionDispatch::Reloader hooks for this request.
Started GET "/assets/search_cancel.gif" for 127.0.0.1 at Tue Jan 10 14:43:35 +0100 2012
RailsDevTweaks: Skipping ActionDispatch::Reloader hooks for this request.
Served asset /me_icon_small.png - 200 OK (79ms)
Served asset /search_cancel.gif - 200 OK (129ms)
Started GET "/assets/connected_friend_request.jpg" for 127.0.0.1 at Tue Jan 10 14:43:35 +0100 2012
RailsDevTweaks: Skipping ActionDispatch::Reloader hooks for this request.
Served asset /connected_friend_request.jpg - 200 OK (66ms)
Started GET "/contacts/822/photo.jpg?g=0" for 127.0.0.1 at Tue Jan 10 14:43:36 +0100 2012
Started GET "/contacts/823/photo.jpg?g=0" for 127.0.0.1 at Tue Jan 10 14:43:36 +0100 2012
Processing by PhotosController#show as JPG
Parameters: {"contact_id"=>"823", "g"=>"0"}
User Load (4.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
Contact Load (1.8ms) SELECT "contacts".* FROM "contacts" WHERE "contacts"."user_id" = 1 AND "contacts"."id" = $1 LIMIT 1 [["id", "823"]]
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
Rendered text template (0.0ms)
Sent data (45.3ms)
Completed 200 OK in 159ms (Views: 45.1ms | ActiveRecord: 14.2ms)
Started GET "/contacts/818/photo.jpg?g=1" for 127.0.0.1 at Tue Jan 10 14:43:36 +0100 2012
Processing by PhotosController#show as JPG
Parameters: {"contact_id"=>"822", "g"=>"0"}
User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
Contact Load (0.8ms) SELECT "contacts".* FROM "contacts" WHERE "contacts"."user_id" = 1 AND "contacts"."id" = $1 LIMIT 1 [["id", "822"]]
Processing by PhotosController#show as JPG
Parameters: {"contact_id"=>"818", "g"=>"1"}
User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
Rendered text template (0.0ms)
Sent data (10.8ms)
Completed 200 OK in 418ms (Views: 10.6ms | ActiveRecord: 7.6ms)
Started GET "/contacts/815/photo.jpg?g=0" for 127.0.0.1 at Tue Jan 10 14:43:37 +0100 2012
Contact Load (0.5ms) SELECT "contacts".* FROM "contacts" WHERE "contacts"."user_id" = 1 AND "contacts"."id" = $1 LIMIT 1 [["id", "818"]]
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
Rendered text template (0.0ms)
Sent data (22.5ms)
Completed 200 OK in 471ms (Views: 22.3ms | ActiveRecord: 5.8ms)
Processing by PhotosController#show as JPG
Parameters: {"contact_id"=>"815", "g"=>"0"}
User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
Contact Load (0.5ms) SELECT "contacts".* FROM "contacts" WHERE "contacts"."user_id" = 1 AND "contacts"."id" = $1 LIMIT 1 [["id", "815"]]
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
Rendered text template (0.0ms)
Sent data (6.2ms)
Completed 200 OK in 305ms (Views: 6.1ms | ActiveRecord: 6.0ms)
Started GET "/contacts/825/photo.jpg?g=0" for 127.0.0.1 at Tue Jan 10 14:43:39 +0100 2012
Processing by PhotosController#show as JPG
Parameters: {"contact_id"=>"825", "g"=>"0"}
User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
Contact Load (0.4ms) SELECT "contacts".* FROM "contacts" WHERE "contacts"."user_id" = 1 AND "contacts"."id" = $1 LIMIT 1 [["id", "825"]]
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
Rendered text template (0.0ms)
Sent data (6.8ms)
Completed 200 OK in 338ms (Views: 6.6ms | ActiveRecord: 6.0ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment