Skip to content

Instantly share code, notes, and snippets.

@mvidaurre
Created October 24, 2014 06:32
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 mvidaurre/bf7c491b3a45e422f3d3 to your computer and use it in GitHub Desktop.
Save mvidaurre/bf7c491b3a45e422f3d3 to your computer and use it in GitHub Desktop.
Rails Development Server Console Output
Started GET "/checkout" for 127.0.0.1 at 2014-10-24 01:25:31 -0500
Processing by Spree::CheckoutController#edit as HTML
Spree::Store Load (0.6ms) SELECT "spree_stores".* FROM "spree_stores" WHERE (url like '%localhost%') 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 (1.3ms) SELECT "spree_orders".* FROM "spree_orders" WHERE "spree_orders"."completed_at" IS NULL AND "spree_orders"."currency" = 'MXN' AND "spree_orders"."guest_token" = 'iBU58pwSD_OWSgCu5s18DA' AND "spree_orders"."store_id" = 1 AND "spree_orders"."user_id" IS NULL LIMIT 1 FOR UPDATE
Spree::Adjustment Load (0.4ms) SELECT "spree_adjustments".* FROM "spree_adjustments" WHERE "spree_adjustments"."adjustable_type" = 'Spree::Order' AND "spree_adjustments"."adjustable_id" IN (23) ORDER BY spree_adjustments.created_at ASC
@order.bill_address before @order.with_lock: nil
(0.1ms) BEGIN
Spree::Order Load (0.5ms) SELECT "spree_orders".* FROM "spree_orders" WHERE "spree_orders"."id" = $1 LIMIT 1 FOR UPDATE [["id", 23]]
(0.5ms) COMMIT
@order.bill_address after @order.with_lock: nil
(0.3ms) SELECT COUNT(*) FROM "spree_line_items" WHERE "spree_line_items"."order_id" = $1 [["order_id", 23]]
Spree::LineItem Load (0.3ms) SELECT "spree_line_items".* FROM "spree_line_items" WHERE "spree_line_items"."order_id" = $1 ORDER BY created_at ASC [["order_id", 23]]
Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."id" = $1 LIMIT 1 [["id", 237]]
(0.6ms) SELECT SUM("spree_stock_items"."count_on_hand") AS sum_id FROM "spree_stock_items" INNER JOIN "spree_stock_locations" ON "spree_stock_locations"."id" = "spree_stock_items"."stock_location_id" WHERE "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."variant_id" = 237 AND "spree_stock_locations"."active" = 't'
Spree::Country Load (0.3ms) SELECT "spree_countries".* FROM "spree_countries" WHERE "spree_countries"."id" = $1 LIMIT 1 [["id", 49]]
CACHE (0.0ms) SELECT "spree_countries".* FROM "spree_countries" WHERE "spree_countries"."id" = $1 LIMIT 1 [["id", 49]]
@order.bill_address before @order.with_lock: #<Spree::Address id: nil, firstname: nil, lastname: nil, address1: nil, address2: nil, city: nil, zipcode: nil, phone: nil, state_name: nil, alternative_phone: nil, company: nil, state_id: nil, country_id: 49, created_at: nil, updated_at: nil>
(0.2ms) BEGIN
Spree::Order Load (0.7ms) SELECT "spree_orders".* FROM "spree_orders" WHERE "spree_orders"."id" = $1 LIMIT 1 FOR UPDATE [["id", 23]]
(0.6ms) COMMIT
@order.bill_address after @order.with_lock: nil
Rendered /Users/manuelevidaurrea/Documents/work/agiltec/workspace/ruby/rails/spree/spree/core/app/views/spree/shared/_error_messages.html.erb (0.3ms)
Rendered /Users/manuelevidaurrea/Documents/work/agiltec/workspace/ruby/rails/spree/spree/frontend/app/views/spree/checkout/_address.html.erb (2.6ms)
Spree::Adjustment Exists (0.7ms) SELECT 1 AS one FROM "spree_adjustments" INNER JOIN "spree_line_items" ON "spree_adjustments"."adjustable_id" = "spree_line_items"."id" WHERE "spree_adjustments"."adjustable_type" = $1 AND "spree_line_items"."order_id" = $2 AND ("spree_adjustments".amount != 0) LIMIT 1 [["adjustable_type", "Spree::LineItem"], ["order_id", 23]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment