Skip to content

Instantly share code, notes, and snippets.

@AlainPilon
Created May 25, 2012 16:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlainPilon/8a9606f8c703453bf479 to your computer and use it in GitHub Desktop.
Save AlainPilon/8a9606f8c703453bf479 to your computer and use it in GitHub Desktop.
Started DELETE "/shoots/1/lists/3/list_items/59" for 127.0.0.1 at 2012-05-25 12:45:37 -0400
Processing by ListItemsController#destroy as JS
Parameters: {"shoot_id"=>"1", "list_id"=>"3", "id"=>"59"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
Shoot Load (0.2ms) SELECT "shoots".* FROM "shoots" WHERE "shoots"."id" = $1 LIMIT 1 [["id", "1"]]
List Load (0.2ms) SELECT "lists".* FROM "lists" WHERE "lists"."shoot_id" = 1 AND "lists"."id" = $1 ORDER BY display_order LIMIT 1 [["id", "3"]]
ListItem Load (0.4ms) SELECT "list_items".* FROM "list_items" WHERE "list_items"."list_id" = 3 AND "list_items"."id" = $1 ORDER BY display_order ASC LIMIT 1 [["id", "59"]]
(0.0ms) BEGIN
SQL (0.2ms) DELETE FROM "list_items" WHERE "list_items"."id" = $1 [["id", 59]]
(0.6ms) COMMIT
Completed 200 OK in 62ms
Started DELETE "/shoots/1/lists/3/list_items/59" for 127.0.0.1 at 2012-05-25 12:45:37 -0400
Processing by ListItemsController#destroy as HTML
Parameters: {"authenticity_token"=>"73BEouL2Hni2t5w8ncxB/DxF4UzagdmrQQx/fac/8wQ=", "shoot_id"=>"1", "list_id"=>"3", "id"=>"59"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
Shoot Load (0.2ms) SELECT "shoots".* FROM "shoots" WHERE "shoots"."id" = $1 LIMIT 1 [["id", "1"]]
List Load (0.1ms) SELECT "lists".* FROM "lists" WHERE "lists"."shoot_id" = 1 AND "lists"."id" = $1 ORDER BY display_order LIMIT 1 [["id", "3"]]
ListItem Load (0.2ms) SELECT "list_items".* FROM "list_items" WHERE "list_items"."list_id" = 3 AND "list_items"."id" = $1 ORDER BY display_order ASC LIMIT 1 [["id", "59"]]
Completed 404 Not Found in 54ms
ActiveRecord::RecordNotFound (Couldn't find ListItem with id=59 [WHERE "list_items"."list_id" = 3]):
app/controllers/list_items_controller.rb:33:in `destroy'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment