Skip to content

Instantly share code, notes, and snippets.

@knowuh
Created October 19, 2010 18:05
Show Gist options
  • Save knowuh/634700 to your computer and use it in GitHub Desktop.
Save knowuh/634700 to your computer and use it in GitHub Desktop.
Processing UsersController#index to json (for 127.0.0.1 at 2010-10-19 14:03:51) [GET]
User Load (0.8ms) SELECT * FROM "users"
Completed in 16ms (View: 2, DB: 1) | 200 OK [http://localhost/rails/users.json]
Processing DragonsController#index to json (for 127.0.0.1 at 2010-10-19 14:03:51) [GET]
Parameters: {"bred"=>"true", "activity_id"=>"1", "user_id"=>"19", "isEgg"=>"false", "isInMarketplace"=>"false"}
Dragon Load (0.9ms) SELECT * FROM "dragons" WHERE ("dragons"."bred" = 't' AND "dragons"."activity_id" = '1' AND "dragons"."isEgg" = 'f' AND "dragons"."user_id" = '19' AND "dragons"."isInMarketplace" = 'f')
Dragon Load (0.3ms) SELECT * FROM "dragons" WHERE ("dragons"."id" IN (4960,4958))
Dragon Load (0.2ms) SELECT * FROM "dragons" WHERE ("dragons"."id" = 4959)
User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 19)
Activity Load (0.2ms) SELECT * FROM "activities" WHERE ("activities"."id" = 1)
Completed in 31ms (View: 2, DB: 2) | 200 OK [http://localhost/rails/dragons.json?bred=true&isEgg=false&isInMarketplace=false&user_id=19&activity_id=1]
Processing DragonsController#index to json (for 127.0.0.1 at 2010-10-19 14:03:51) [GET]
Parameters: {"mother_id"=>"null", "bred"=>"false", "activity_id"=>"1", "user_id"=>"19", "father_id"=>"null"}
Dragon Load (0.9ms) SELECT * FROM "dragons" WHERE ("dragons"."bred" = 'f' AND "dragons"."activity_id" = '1' AND "dragons"."user_id" = '19' AND "dragons"."mother_id" IS NULL AND "dragons"."father_id" IS NULL)
User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 19)
Activity Load (0.3ms) SELECT * FROM "activities" WHERE ("activities"."id" = 1)
Completed in 102ms (View: 2, DB: 1) | 200 OK [http://localhost/rails/dragons.json?mother_id=null&father_id=null&bred=false&user_id=19&activity_id=1]
Processing ActivitiesController#index to json (for 127.0.0.1 at 2010-10-19 14:04:03) [GET]
Activity Load (0.4ms) SELECT * FROM "activities"
Rendering activities/index
Completed in 8ms (View: 3, DB: 0) | 200 OK [http://localhost/rails/activities.json]
Processing UsersController#index to json (for 127.0.0.1 at 2010-10-19 14:04:04) [GET]
User Load (2.9ms) SELECT * FROM "users"
Completed in 21ms (View: 2, DB: 3) | 200 OK [http://localhost/rails/users.json]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment