Skip to content

Instantly share code, notes, and snippets.

@cwoodcox
Created November 19, 2014 18:08
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 cwoodcox/dbd0cc9dbfd3a908ead0 to your computer and use it in GitHub Desktop.
Save cwoodcox/dbd0cc9dbfd3a908ead0 to your computer and use it in GitHub Desktop.
Weird
Started GET "/products/die-cut-stickers" for 127.0.0.1 at 2014-11-19 12:47:59 -0500
Processing by Spree::ProductsController#show as HTML
Parameters: {"id"=>"die-cut-stickers"}
Spree::Preference Load (0.4ms) SELECT "spree_preferences".* FROM "spree_preferences" WHERE "spree_preferences"."key" = 'spree/frontend_configuration/locale' LIMIT 1
Spree::User Load (0.3ms) SELECT "spree_users".* FROM "spree_users" WHERE "spree_users"."deleted_at" IS NULL AND "spree_users"."id" = 1 ORDER BY "spree_users"."id" ASC LIMIT 1
Spree::Store Load (0.3ms) SELECT "spree_stores".* FROM "spree_stores" WHERE (url like '%rockin-stickers.dev%') ORDER BY "spree_stores"."id" ASC LIMIT 1
Spree::Store Load (0.3ms) SELECT "spree_stores".* FROM "spree_stores" WHERE "spree_stores"."default" = 't' ORDER BY "spree_stores"."id" ASC LIMIT 1
Spree::Order Load (0.4ms) SELECT "spree_orders".* FROM "spree_orders" WHERE "spree_orders"."completed_at" IS NULL AND "spree_orders"."currency" = 'USD' AND "spree_orders"."guest_token" = 'B4YEoV8nXPnIfEIWuv0VDg' AND "spree_orders"."store_id" = 1 AND "spree_orders"."user_id" = 1 LIMIT 1
Spree::Order Load (0.5ms) SELECT "spree_orders".* FROM "spree_orders" WHERE "spree_orders"."user_id" = $1 AND "spree_orders"."completed_at" IS NULL AND "spree_orders"."user_id" = 1 ORDER BY created_at DESC LIMIT 1 [["user_id", 1]]
Spree::Order Load (0.3ms) SELECT "spree_orders".* FROM "spree_orders" WHERE "spree_orders"."user_id" = $1 AND "spree_orders"."completed_at" IS NULL AND (id != 1) [["user_id", 1]]
(0.1ms) SELECT COUNT(*) FROM "spree_roles" INNER JOIN "spree_roles_users" ON "spree_roles"."id" = "spree_roles_users"."role_id" WHERE "spree_roles_users"."user_id" = $1 AND "spree_roles"."name" = 'admin' [["user_id", 1]]
Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."slug" = 'die-cut-stickers' ORDER BY "spree_products"."id" ASC LIMIT 1
Rendered subtree/spree_bootstrap_frontend/spree_bootstrap/frontend/app/views/spree/shared/_testimonials.html.erb (0.3ms)
Rendered subtree/spree_bootstrap_frontend/spree_bootstrap/frontend/app/views/spree/products/show.html.erb within spree/layouts/spree_application (22.5ms)
Rendered subtree/spree_bootstrap_frontend/spree_bootstrap/frontend/app/views/spree/shared/_head.html.erb (289.3ms)
Rendered subtree/spree_bootstrap_frontend/spree_bootstrap/frontend/app/views/spree/shared/_header.html.erb (0.3ms)
Rendered subtree/spree_bootstrap_frontend/spree_bootstrap/frontend/app/views/spree/shared/_footer.html.erb (0.4ms)
Spree::Tracker Load (0.3ms) SELECT "spree_trackers".* FROM "spree_trackers" WHERE "spree_trackers"."active" = 't' AND "spree_trackers"."environment" = 'development' ORDER BY "spree_trackers"."id" ASC LIMIT 1
Rendered subtree/spree/frontend/app/views/spree/shared/_google_analytics.html.erb (1.4ms)
Completed 200 OK in 444ms (Views: 429.6ms | ActiveRecord: 3.3ms)
Started GET "/products/die-cut-stickers" for 127.0.0.1 at 2014-11-19 12:48:09 -0500
Processing by Spree::ProductsController#show as HTML
Parameters: {"id"=>"die-cut-stickers"}
Spree::Preference Load (0.3ms) SELECT "spree_preferences".* FROM "spree_preferences" WHERE "spree_preferences"."key" = 'spree/frontend_configuration/locale' LIMIT 1
Spree::Product Load (0.6ms) SELECT "spree_products".* FROM "spree_products" INNER JOIN "spree_variants" ON "spree_variants"."product_id" = "spree_products"."id" AND "spree_variants"."is_master" = 't' AND "spree_variants"."deleted_at" IS NULL INNER JOIN "spree_prices" ON "spree_prices"."variant_id" = "spree_variants"."id" AND "spree_prices"."deleted_at" IS NULL WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".deleted_at IS NULL or "spree_products".deleted_at >= '2014-11-19 17:48:09.917878') AND ("spree_products".available_on <= '2014-11-19 17:48:09.918356') AND "spree_products"."slug" = 'die-cut-stickers' ORDER BY "spree_products"."id" ASC LIMIT 1
Spree::Product Load (0.8ms) SELECT "spree_products".* FROM "spree_products" INNER JOIN "spree_variants" ON "spree_variants"."product_id" = "spree_products"."id" AND "spree_variants"."is_master" = 't' AND "spree_variants"."deleted_at" IS NULL INNER JOIN "spree_prices" ON "spree_prices"."variant_id" = "spree_variants"."id" AND "spree_prices"."deleted_at" IS NULL INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "spree_products"."id" AND "friendly_id_slugs"."sluggable_type" = 'Spree::Product' WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".deleted_at IS NULL or "spree_products".deleted_at >= '2014-11-19 17:48:09.917878') AND ("spree_products".available_on <= '2014-11-19 17:48:09.918356') AND ("friendly_id_slugs"."sluggable_type" = 'Spree::Product' AND "friendly_id_slugs"."slug" = 'die-cut-stickers') ORDER BY "spree_products"."id" ASC LIMIT 1
Rendered public/404.html (0.2ms)
Completed 404 Not Found in 57ms (Views: 45.7ms | ActiveRecord: 1.8ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment