Created
December 16, 2012 14:15
-
-
Save itsNikolay/4307695 to your computer and use it in GitHub Desktop.
Error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Started PUT "/checkout/update/address" for 127.0.0.1 at 2012-12-16 15:51:24 +0400 | |
Processing by Spree::CheckoutController#update as HTML | |
Parameters: {"utf8"=>"✓", "authenticity_token"=>"FiZb2TZaAXOUlqPpdEKXuWmpya7ushZavJ1VgQ3a3rk=", "order"=>{"bill_address_attributes"=>{"firstname"=>"Николай", "lastname"=>"Пономарев", "address1"=>"Ленина", "address2"=>"", "city"=>"Мурманск", "state_name"=>"Регионgfhdfh", "zipcode"=>"adsf", "country_id"=>"35", "phone"=>"adsf"}, "use_billing"=>"1"}, "button"=>"", "state"=>"address"} | |
Spree::Preference Exists (0.2ms) SELECT 1 AS one FROM "spree_preferences" WHERE "spree_preferences"."key" = 'spree/app_configuration/allow_ssl_in_development_and_test' LIMIT 1 | |
Spree::Preference Load (0.2ms) SELECT "spree_preferences".* FROM "spree_preferences" WHERE "spree_preferences"."name" = 'allow_ssl_in_development_and_test' LIMIT 1 | |
Spree::Order Load (0.3ms) SELECT "spree_orders".* FROM "spree_orders" WHERE "spree_orders"."id" = 1069267034 LIMIT 1 | |
Spree::Adjustment Load (0.3ms) SELECT "spree_adjustments".* FROM "spree_adjustments" WHERE "spree_adjustments"."adjustable_type" = 'Spree::Order' AND "spree_adjustments"."adjustable_id" IN (1069267034) ORDER BY created_at ASC | |
(0.2ms) SELECT COUNT(*) FROM "spree_line_items" WHERE "spree_line_items"."order_id" = 1069267034 | |
Spree::LineItem Load (0.2ms) SELECT "spree_line_items".* FROM "spree_line_items" WHERE "spree_line_items"."order_id" = 1069267034 | |
Spree::Preference Exists (0.1ms) SELECT 1 AS one FROM "spree_preferences" WHERE "spree_preferences"."key" = 'spree/app_configuration/allow_backorders' LIMIT 1 | |
Spree::Preference Load (0.2ms) SELECT "spree_preferences".* FROM "spree_preferences" WHERE "spree_preferences"."name" = 'allow_backorders' LIMIT 1 | |
Spree::Country Load (0.1ms) SELECT "spree_countries".* FROM "spree_countries" WHERE "spree_countries"."id" = ? LIMIT 1 [["id", 168]] | |
CACHE (0.0ms) SELECT "spree_countries".* FROM "spree_countries" WHERE "spree_countries"."id" = ? LIMIT 1 [["id", 168]] | |
Spree::Payment Load (0.3ms) SELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = 1069267034 AND "spree_payments"."state" = 'completed' | |
Spree::Adjustment Load (0.3ms) SELECT "spree_adjustments".* FROM "spree_adjustments" WHERE "spree_adjustments"."adjustable_id" = 1069267034 AND "spree_adjustments"."adjustable_type" = 'Spree::Order' AND "spree_adjustments"."eligible" = 't' ORDER BY created_at ASC | |
Spree::Payment Load (0.3ms) SELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = 1069267034 LIMIT 1 | |
Spree::PaymentMethod Load (0.3ms) SELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE "spree_payment_methods"."deleted_at" IS NULL | |
CACHE (0.0ms) SELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = 1069267034 LIMIT 1 | |
(0.2ms) 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" IS NULL AND "spree_roles"."name" = 'admin' | |
Spree::TokenizedPermission Load (0.2ms) SELECT "spree_tokenized_permissions".* FROM "spree_tokenized_permissions" WHERE "spree_tokenized_permissions"."permissable_id" = 1069267034 AND "spree_tokenized_permissions"."permissable_type" = 'Spree::Order' LIMIT 1 | |
Spree::Preference Exists (0.2ms) SELECT 1 AS one FROM "spree_preferences" WHERE "spree_preferences"."key" = 'spree/auth_configuration/registration_step' LIMIT 1 | |
Spree::Preference Load (0.2ms) SELECT "spree_preferences".* FROM "spree_preferences" WHERE "spree_preferences"."name" = 'registration_step' LIMIT 1 | |
(0.1ms) begin transaction | |
Spree::Country Load (0.2ms) SELECT "spree_countries".* FROM "spree_countries" WHERE "spree_countries"."id" = 35 LIMIT 1 | |
Spree::Preference Exists (0.1ms) SELECT 1 AS one FROM "spree_preferences" WHERE "spree_preferences"."key" = 'spree/app_configuration/address_requires_state' LIMIT 1 | |
Spree::Preference Load (0.2ms) SELECT "spree_preferences".* FROM "spree_preferences" WHERE "spree_preferences"."name" = 'address_requires_state' LIMIT 1 | |
Spree::State Load (0.2ms) SELECT "spree_states".* FROM "spree_states" WHERE "spree_states"."country_id" = 35 ORDER BY name ASC | |
SQL (0.5ms) INSERT INTO "spree_addresses" ("address1", "address2", "alternative_phone", "city", "company", "country_id", "created_at", "firstname", "lastname", "phone", "state_id", "state_name", "updated_at", "zipcode") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["address1", "Ленина"], ["address2", ""], ["alternative_phone", nil], ["city", "Мурманск"], ["company", nil], ["country_id", 35], ["created_at", Sun, 16 Dec 2012 11:51:24 UTC +00:00], ["firstname", "Николай"], ["lastname", "Пономарев"], ["phone", "adsf"], ["state_id", nil], ["state_name", "Регионgfhdfh"], ["updated_at", Sun, 16 Dec 2012 11:51:24 UTC +00:00], ["zipcode", "adsf"]] | |
Spree::Preference Exists (0.1ms) SELECT 1 AS one FROM "spree_preferences" WHERE "spree_preferences"."key" = 'spree/address_book_configuration/disable_bill_address' LIMIT 1 | |
Spree::Preference Load (0.2ms) SELECT "spree_preferences".* FROM "spree_preferences" WHERE "spree_preferences"."name" = 'disable_bill_address' LIMIT 1 | |
Spree::Preference Exists (0.1ms) SELECT 1 AS one FROM "spree_preferences" WHERE "spree_preferences"."key" = 'spree/app_configuration/address_requires_state' LIMIT 1 | |
Spree::Preference Load (0.1ms) SELECT "spree_preferences".* FROM "spree_preferences" WHERE "spree_preferences"."name" = 'address_requires_state' LIMIT 1 | |
CACHE (0.0ms) SELECT 1 AS one FROM "spree_preferences" WHERE "spree_preferences"."key" = 'spree/app_configuration/address_requires_state' LIMIT 1 | |
CACHE (0.0ms) SELECT "spree_preferences".* FROM "spree_preferences" WHERE "spree_preferences"."name" = 'address_requires_state' LIMIT 1 | |
Spree::Payment Load (0.3ms) SELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = 1069267034 AND "spree_payments"."state" = 'completed' | |
Spree::Adjustment Load (0.3ms) SELECT "spree_adjustments".* FROM "spree_adjustments" WHERE "spree_adjustments"."adjustable_id" = 1069267034 AND "spree_adjustments"."adjustable_type" = 'Spree::Order' AND "spree_adjustments"."eligible" = 't' ORDER BY created_at ASC | |
Spree::Payment Load (0.2ms) SELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = 1069267034 LIMIT 1 | |
CACHE (0.0ms) SELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = 1069267034 LIMIT 1 | |
CACHE (0.0ms) SELECT 1 AS one FROM "spree_preferences" WHERE "spree_preferences"."key" = 'spree/app_configuration/address_requires_state' LIMIT 1 | |
CACHE (0.0ms) SELECT "spree_preferences".* FROM "spree_preferences" WHERE "spree_preferences"."name" = 'address_requires_state' LIMIT 1 | |
Spree::ShippingMethod Load (0.3ms) SELECT "spree_shipping_methods".* FROM "spree_shipping_methods" WHERE "spree_shipping_methods"."deleted_at" IS NULL | |
Spree::Calculator Load (0.2ms) SELECT "spree_calculators".* FROM "spree_calculators" WHERE "spree_calculators"."calculable_id" = 13537749 AND "spree_calculators"."calculable_type" = 'Spree::ShippingMethod' LIMIT 1 | |
Spree::Zone Load (0.2ms) SELECT "spree_zones".* FROM "spree_zones" WHERE "spree_zones"."id" = 2 LIMIT 1 | |
Spree::ZoneMember Load (0.2ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 2 | |
Spree::Calculator Load (0.2ms) SELECT "spree_calculators".* FROM "spree_calculators" WHERE "spree_calculators"."calculable_id" = 192811543 AND "spree_calculators"."calculable_type" = 'Spree::ShippingMethod' LIMIT 1 | |
CACHE (0.0ms) SELECT "spree_zones".* FROM "spree_zones" WHERE "spree_zones"."id" = 2 LIMIT 1 | |
CACHE (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 2 | |
Spree::Calculator Load (0.2ms) SELECT "spree_calculators".* FROM "spree_calculators" WHERE "spree_calculators"."calculable_id" = 574015644 AND "spree_calculators"."calculable_type" = 'Spree::ShippingMethod' LIMIT 1 | |
CACHE (0.0ms) SELECT "spree_zones".* FROM "spree_zones" WHERE "spree_zones"."id" = 2 LIMIT 1 | |
CACHE (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 2 | |
Spree::Calculator Load (0.2ms) SELECT "spree_calculators".* FROM "spree_calculators" WHERE "spree_calculators"."calculable_id" = 574015645 AND "spree_calculators"."calculable_type" = 'Spree::ShippingMethod' LIMIT 1 | |
Spree::Zone Load (0.2ms) SELECT "spree_zones".* FROM "spree_zones" WHERE "spree_zones"."id" = 1 LIMIT 1 | |
Spree::ZoneMember Load (0.3ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 1 | |
Spree::Order Exists (0.1ms) SELECT 1 AS one FROM "spree_orders" WHERE ("spree_orders"."number" = 'R735246656' AND "spree_orders"."id" != 1069267034) LIMIT 1 | |
(0.2ms) UPDATE "spree_orders" SET "bill_address_id" = 1072978404, "ship_address_id" = 1072978404, "updated_at" = '2012-12-16 11:51:24.572426' WHERE "spree_orders"."id" = 1069267034 | |
(225.4ms) commit transaction | |
Spree::Activator Load (0.6ms) SELECT "spree_activators".* FROM "spree_activators" WHERE ((starts_at IS NULL OR starts_at < '2012-12-16 11:51:24.801591') AND (expires_at IS NULL OR expires_at > '2012-12-16 11:51:24.801603')) AND (event_name LIKE 'spree.checkout.update%') | |
(0.1ms) begin transaction | |
Spree::Shipment Load (0.3ms) SELECT "spree_shipments".* FROM "spree_shipments" WHERE "spree_shipments"."order_id" = 1069267034 | |
Spree::Preference Exists (0.1ms) SELECT 1 AS one FROM "spree_preferences" WHERE "spree_preferences"."key" = 'spree/address_book_configuration/disable_bill_address' LIMIT 1 | |
Spree::Preference Load (0.2ms) SELECT "spree_preferences".* FROM "spree_preferences" WHERE "spree_preferences"."name" = 'disable_bill_address' LIMIT 1 | |
Spree::Preference Exists (0.1ms) SELECT 1 AS one FROM "spree_preferences" WHERE "spree_preferences"."key" = 'spree/app_configuration/address_requires_state' LIMIT 1 | |
Spree::Preference Load (0.2ms) SELECT "spree_preferences".* FROM "spree_preferences" WHERE "spree_preferences"."name" = 'address_requires_state' LIMIT 1 | |
CACHE (0.0ms) SELECT 1 AS one FROM "spree_preferences" WHERE "spree_preferences"."key" = 'spree/app_configuration/address_requires_state' LIMIT 1 | |
CACHE (0.0ms) SELECT "spree_preferences".* FROM "spree_preferences" WHERE "spree_preferences"."name" = 'address_requires_state' LIMIT 1 | |
Spree::Payment Load (0.3ms) SELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = 1069267034 AND "spree_payments"."state" = 'completed' | |
Spree::Adjustment Load (0.3ms) SELECT "spree_adjustments".* FROM "spree_adjustments" WHERE "spree_adjustments"."adjustable_id" = 1069267034 AND "spree_adjustments"."adjustable_type" = 'Spree::Order' AND "spree_adjustments"."eligible" = 't' ORDER BY created_at ASC | |
Spree::Payment Load (0.2ms) SELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = 1069267034 LIMIT 1 | |
CACHE (0.0ms) SELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = 1069267034 LIMIT 1 | |
Spree::Order Exists (0.1ms) SELECT 1 AS one FROM "spree_orders" WHERE ("spree_orders"."number" = 'R735246656' AND "spree_orders"."id" != 1069267034) LIMIT 1 | |
(0.2ms) UPDATE "spree_orders" SET "state" = 'delivery', "updated_at" = '2012-12-16 11:51:24.834560' WHERE "spree_orders"."id" = 1069267034 | |
Spree::Preference Exists (0.1ms) SELECT 1 AS one FROM "spree_preferences" WHERE "spree_preferences"."key" = 'spree/address_book_configuration/disable_bill_address' LIMIT 1 | |
Spree::Preference Load (0.1ms) SELECT "spree_preferences".* FROM "spree_preferences" WHERE "spree_preferences"."name" = 'disable_bill_address' LIMIT 1 | |
Spree::Preference Exists (0.1ms) SELECT 1 AS one FROM "spree_preferences" WHERE "spree_preferences"."key" = 'spree/app_configuration/address_requires_state' LIMIT 1 | |
Spree::Preference Load (0.2ms) SELECT "spree_preferences".* FROM "spree_preferences" WHERE "spree_preferences"."name" = 'address_requires_state' LIMIT 1 | |
CACHE (0.0ms) SELECT 1 AS one FROM "spree_preferences" WHERE "spree_preferences"."key" = 'spree/app_configuration/address_requires_state' LIMIT 1 | |
CACHE (0.0ms) SELECT "spree_preferences".* FROM "spree_preferences" WHERE "spree_preferences"."name" = 'address_requires_state' LIMIT 1 | |
Spree::Payment Load (0.2ms) SELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = 1069267034 AND "spree_payments"."state" = 'completed' | |
Spree::Adjustment Load (0.3ms) SELECT "spree_adjustments".* FROM "spree_adjustments" WHERE "spree_adjustments"."adjustable_id" = 1069267034 AND "spree_adjustments"."adjustable_type" = 'Spree::Order' AND "spree_adjustments"."eligible" = 't' ORDER BY created_at ASC | |
Spree::Payment Load (0.2ms) SELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = 1069267034 LIMIT 1 | |
CACHE (0.0ms) SELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = 1069267034 LIMIT 1 | |
Spree::Order Exists (0.1ms) SELECT 1 AS one FROM "spree_orders" WHERE ("spree_orders"."number" = 'R735246656' AND "spree_orders"."id" != 1069267034) LIMIT 1 | |
(0.3ms) UPDATE "spree_orders" SET "state" = 'delivery', "updated_at" = '2012-12-16 11:51:24.834560' WHERE "spree_orders"."id" = 1069267034 | |
Spree::Adjustment Load (0.3ms) SELECT "spree_adjustments".* FROM "spree_adjustments" WHERE "spree_adjustments"."adjustable_id" = 1069267034 AND "spree_adjustments"."adjustable_type" = 'Spree::Order' AND "spree_adjustments"."originator_type" = 'Spree::TaxRate' AND "spree_adjustments"."adjustable_type" = 'Spree::Order' ORDER BY created_at ASC | |
Spree::Adjustment Load (0.2ms) SELECT "spree_adjustments".* FROM "spree_adjustments" WHERE "spree_adjustments"."adjustable_id" = 1070870206 AND "spree_adjustments"."adjustable_type" = 'Spree::LineItem' | |
Spree::Preference Load (0.2ms) SELECT "spree_preferences".* FROM "spree_preferences" WHERE "spree_preferences"."key" = 'spree/app_configuration/tax_using_ship_address' LIMIT 1 | |
Spree::Zone Load (0.2ms) SELECT "spree_zones".* FROM "spree_zones" ORDER BY zone_members_count, created_at | |
Spree::ZoneMember Load (1.5ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" IN (1, 2) | |
Spree::TaxRate Load (0.2ms) SELECT "spree_tax_rates".* FROM "spree_tax_rates" | |
Spree::Zone Load (0.1ms) SELECT "spree_zones".* FROM "spree_zones" WHERE "spree_zones"."id" = 2 LIMIT 1 | |
CACHE (0.0ms) SELECT "spree_preferences".* FROM "spree_preferences" WHERE "spree_preferences"."key" = 'spree/app_configuration/tax_using_ship_address' LIMIT 1 | |
CACHE (0.0ms) SELECT "spree_zones".* FROM "spree_zones" ORDER BY zone_members_count, created_at | |
CACHE (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" IN (1, 2) | |
Spree::TaxCategory Load (0.2ms) SELECT "spree_tax_categories".* FROM "spree_tax_categories" WHERE "spree_tax_categories"."deleted_at" IS NULL AND "spree_tax_categories"."id" = 25484906 LIMIT 1 | |
Spree::Calculator Load (0.2ms) SELECT "spree_calculators".* FROM "spree_calculators" WHERE "spree_calculators"."calculable_id" = 967941380 AND "spree_calculators"."calculable_type" = 'Spree::TaxRate' LIMIT 1 | |
Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" INNER JOIN "spree_variants" ON "spree_products"."id" = "spree_variants"."product_id" WHERE "spree_variants"."id" = 833839126 LIMIT 1 | |
Spree::TaxCategory Load (0.1ms) SELECT "spree_tax_categories".* FROM "spree_tax_categories" WHERE "spree_tax_categories"."deleted_at" IS NULL AND "spree_tax_categories"."id" = ? LIMIT 1 [["id", 25484906]] | |
Spree::TaxRate Load (0.2ms) SELECT "spree_tax_rates".* FROM "spree_tax_rates" WHERE "spree_tax_rates"."id" = 967941380 LIMIT 1 | |
CACHE (0.0ms) SELECT "spree_tax_categories".* FROM "spree_tax_categories" WHERE "spree_tax_categories"."deleted_at" IS NULL AND "spree_tax_categories"."id" = 25484906 LIMIT 1 | |
SQL (0.5ms) INSERT INTO "spree_adjustments" ("adjustable_id", "adjustable_type", "amount", "created_at", "eligible", "label", "locked", "mandatory", "originator_id", "originator_type", "source_id", "source_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adjustable_id", 1069267034], ["adjustable_type", "Spree::Order"], ["amount", #<BigDecimal:b4c0eaa4,'0.115E1',18(36)>], ["created_at", Sun, 16 Dec 2012 11:51:24 UTC +00:00], ["eligible", true], ["label", "Clothing 5.0%"], ["locked", nil], ["mandatory", false], ["originator_id", 967941380], ["originator_type", "Spree::TaxRate"], ["source_id", 1069267034], ["source_type", "Spree::Order"], ["updated_at", Sun, 16 Dec 2012 11:51:24 UTC +00:00]] | |
Spree::Order Load (0.2ms) SELECT "spree_orders".* FROM "spree_orders" WHERE "spree_orders"."id" = 1069267034 LIMIT 1 | |
Spree::Payment Load (0.2ms) SELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = 1069267034 AND "spree_payments"."state" = 'completed' | |
Spree::LineItem Load (0.2ms) SELECT "spree_line_items".* FROM "spree_line_items" WHERE "spree_line_items"."order_id" = 1069267034 | |
Spree::Adjustment Load (0.3ms) SELECT "spree_adjustments".* FROM "spree_adjustments" WHERE "spree_adjustments"."adjustable_id" = 1069267034 AND "spree_adjustments"."adjustable_type" = 'Spree::Order' AND "spree_adjustments"."eligible" = 't' ORDER BY created_at ASC | |
Spree::Payment Load (0.2ms) SELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = 1069267034 | |
Spree::Shipment Load (0.2ms) SELECT "spree_shipments".* FROM "spree_shipments" WHERE "spree_shipments"."order_id" = 1069267034 | |
(0.4ms) SELECT COUNT(*) FROM "spree_shipments" WHERE "spree_shipments"."order_id" = 1069267034 | |
Spree::Preference Exists (0.1ms) SELECT 1 AS one FROM "spree_preferences" WHERE "spree_preferences"."key" = 'spree/app_configuration/track_inventory_levels' LIMIT 1 | |
Spree::Preference Load (0.2ms) SELECT "spree_preferences".* FROM "spree_preferences" WHERE "spree_preferences"."name" = 'track_inventory_levels' LIMIT 1 | |
(0.1ms) SELECT COUNT(*) FROM "spree_inventory_units" WHERE "spree_inventory_units"."order_id" = 1069267034 AND "spree_inventory_units"."state" = 'backordered' | |
Spree::Adjustment Load (0.3ms) SELECT "spree_adjustments".* FROM "spree_adjustments" WHERE "spree_adjustments"."adjustable_id" = 1069267034 AND "spree_adjustments"."adjustable_type" = 'Spree::Order' ORDER BY created_at ASC | |
Spree::TaxRate Load (0.2ms) SELECT "spree_tax_rates".* FROM "spree_tax_rates" WHERE "spree_tax_rates"."id" = 967941380 LIMIT 1 | |
Spree::Calculator Load (0.2ms) SELECT "spree_calculators".* FROM "spree_calculators" WHERE "spree_calculators"."calculable_id" = 967941380 AND "spree_calculators"."calculable_type" = 'Spree::TaxRate' LIMIT 1 | |
Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" INNER JOIN "spree_variants" ON "spree_products"."id" = "spree_variants"."product_id" WHERE "spree_variants"."id" = 833839126 LIMIT 1 | |
Spree::TaxCategory Load (0.1ms) SELECT "spree_tax_categories".* FROM "spree_tax_categories" WHERE "spree_tax_categories"."deleted_at" IS NULL AND "spree_tax_categories"."id" = ? LIMIT 1 [["id", 25484906]] | |
CACHE (0.0ms) SELECT "spree_tax_rates".* FROM "spree_tax_rates" WHERE "spree_tax_rates"."id" = 967941380 LIMIT 1 | |
Spree::TaxCategory Load (0.2ms) SELECT "spree_tax_categories".* FROM "spree_tax_categories" WHERE "spree_tax_categories"."deleted_at" IS NULL AND "spree_tax_categories"."id" = 25484906 LIMIT 1 | |
SQL (0.2ms) UPDATE "spree_adjustments" SET "amount" = 1.15 WHERE "spree_adjustments"."id" = 1073043778 | |
SQL (0.1ms) UPDATE "spree_adjustments" SET "eligible" = 't' WHERE "spree_adjustments"."id" = 1073043778 | |
Spree::Adjustment Load (0.2ms) SELECT "spree_adjustments".* FROM "spree_adjustments" WHERE "spree_adjustments"."adjustable_id" = 1069267034 AND "spree_adjustments"."adjustable_type" = 'Spree::Order' AND "spree_adjustments"."originator_type" = 'Spree::PromotionAction' AND "spree_adjustments"."eligible" = 't' ORDER BY created_at ASC | |
Spree::Payment Load (0.2ms) SELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = 1069267034 AND "spree_payments"."state" = 'completed' | |
Spree::Adjustment Load (0.3ms) SELECT "spree_adjustments".* FROM "spree_adjustments" WHERE "spree_adjustments"."adjustable_id" = 1069267034 AND "spree_adjustments"."adjustable_type" = 'Spree::Order' AND "spree_adjustments"."eligible" = 't' ORDER BY created_at ASC | |
SQL (0.2ms) UPDATE "spree_orders" SET "payment_state" = 'balance_due', "shipment_state" = NULL, "item_total" = 22.99, "adjustment_total" = 1.15, "payment_total" = 0.0, "total" = 24.14 WHERE "spree_orders"."id" = 1069267034 | |
(210.8ms) commit transaction | |
Redirected to http://localhost:3000/checkout/delivery | |
Spree::Address Load (0.2ms) SELECT "spree_addresses".* FROM "spree_addresses" WHERE "spree_addresses"."id" = ? LIMIT 1 [["id", 1072978404]] | |
CACHE (0.0ms) SELECT "spree_addresses".* FROM "spree_addresses" WHERE "spree_addresses"."id" = ? LIMIT 1 [["id", 1072978404]] | |
Completed 500 Internal Server Error in 832ms | |
NoMethodError (undefined method `user_id=' for #<Spree::Address:0xb4e8b2dc>): | |
activemodel (3.2.9) lib/active_model/attribute_methods.rb:407:in `method_missing' | |
activerecord (3.2.9) lib/active_record/attribute_methods.rb:149:in `method_missing' | |
activerecord (3.2.9) lib/active_record/persistence.rb:180:in `update_attribute' | |
/home/itsnikolay/.rvm/gems/ruby-1.9.3-p286@itsnikolay/bundler/gems/spree_address_book-8f9e1c1f8248/app/controllers/spree/checkout_controller_decorator.rb:40:in `normalize_addresses' | |
activesupport (3.2.9) lib/active_support/callbacks.rb:515:in `_run__8587561__process_action__120347297__callbacks' | |
activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' | |
activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' | |
activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' | |
actionpack (3.2.9) lib/abstract_controller/callbacks.rb:17:in `process_action' | |
actionpack (3.2.9) lib/action_controller/metal/rescue.rb:29:in `process_action' | |
actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' | |
activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument' | |
activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument' | |
activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument' | |
actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:29:in `process_action' | |
actionpack (3.2.9) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' | |
activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action' | |
actionpack (3.2.9) lib/abstract_controller/base.rb:121:in `process' | |
actionpack (3.2.9) lib/abstract_controller/rendering.rb:45:in `process' | |
actionpack (3.2.9) lib/action_controller/metal.rb:203:in `dispatch' | |
actionpack (3.2.9) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' | |
actionpack (3.2.9) lib/action_controller/metal.rb:246:in `block in action' | |
actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `call' | |
actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' | |
actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:36:in `call' | |
journey (1.0.4) lib/journey/router.rb:68:in `block in call' | |
journey (1.0.4) lib/journey/router.rb:56:in `each' | |
journey (1.0.4) lib/journey/router.rb:56:in `call' | |
actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:601:in `call' | |
spree_core (1.2.2) lib/spree/core/middleware/redirect_legacy_product_url.rb:13:in `call' | |
spree_core (1.2.2) lib/spree/core/middleware/seo_assist.rb:27:in `call' | |
railties (3.2.9) lib/rails/engine.rb:479:in `call' | |
railties (3.2.9) lib/rails/railtie/configurable.rb:30:in `method_missing' | |
journey (1.0.4) lib/journey/router.rb:68:in `block in call' | |
journey (1.0.4) lib/journey/router.rb:56:in `each' | |
journey (1.0.4) lib/journey/router.rb:56:in `call' | |
actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:601:in `call' | |
warden (1.2.1) lib/warden/manager.rb:35:in `block in call' | |
warden (1.2.1) lib/warden/manager.rb:34:in `catch' | |
warden (1.2.1) lib/warden/manager.rb:34:in `call' | |
actionpack (3.2.9) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' | |
rack (1.4.1) lib/rack/etag.rb:23:in `call' | |
rack (1.4.1) lib/rack/conditionalget.rb:35:in `call' | |
actionpack (3.2.9) lib/action_dispatch/middleware/head.rb:14:in `call' | |
actionpack (3.2.9) lib/action_dispatch/middleware/params_parser.rb:21:in `call' | |
actionpack (3.2.9) lib/action_dispatch/middleware/flash.rb:242:in `call' | |
rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' | |
rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' | |
actionpack (3.2.9) lib/action_dispatch/middleware/cookies.rb:341:in `call' | |
activerecord (3.2.9) lib/active_record/query_cache.rb:64:in `call' | |
activerecord (3.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call' | |
actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' | |
activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `_run__172985245__call__781685807__callbacks' | |
activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' | |
activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' | |
activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' | |
actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call' | |
actionpack (3.2.9) lib/action_dispatch/middleware/reloader.rb:65:in `call' | |
actionpack (3.2.9) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' | |
actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' | |
actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' | |
railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app' | |
railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call' | |
activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged' | |
railties (3.2.9) lib/rails/rack/logger.rb:16:in `call' | |
actionpack (3.2.9) lib/action_dispatch/middleware/request_id.rb:22:in `call' | |
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' | |
rack (1.4.1) lib/rack/runtime.rb:17:in `call' | |
activesupport (3.2.9) lib/active_support/cache/strategy/local_cache.rb:72:in `call' | |
rack (1.4.1) lib/rack/lock.rb:15:in `call' | |
actionpack (3.2.9) lib/action_dispatch/middleware/static.rb:62:in `call' | |
railties (3.2.9) lib/rails/engine.rb:479:in `call' | |
railties (3.2.9) lib/rails/application.rb:223:in `call' | |
rack (1.4.1) lib/rack/content_length.rb:14:in `call' | |
railties (3.2.9) lib/rails/rack/log_tailer.rb:17:in `call' | |
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' | |
/home/itsnikolay/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' | |
/home/itsnikolay/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' | |
/home/itsnikolay/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' | |
Rendered /home/itsnikolay/.rvm/gems/ruby-1.9.3-p286@itsnikolay/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.4ms) | |
Rendered /home/itsnikolay/.rvm/gems/ruby-1.9.3-p286@itsnikolay/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.5ms) | |
Rendered /home/itsnikolay/.rvm/gems/ruby-1.9.3-p286@itsnikolay/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (18.5ms) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment